<template>
  <div>login</div>

  <el-button type="primary" @click="handleLogin">登录</el-button>


</template>

<script setup>
  import { login } from '@/api/login/login';

  const handleLogin = () => {
    console.log("调用登录方法");
    let param = {
      name: 'zs',
      pwd: '123456'
    }
    login(param);
  }


</script>

<style>

</style>